翻訳と辞書
Words near each other
・ SCOPE (protein engineering)
・ SCOPE Alliance
・ SCOPE Art Show
・ Scope Beck
・ Scope clause
・ Scope creep
・ Scope Gem
・ Scope limitation
・ SCOPE Maastricht
・ Scope neglect
・ Scope of a quantification
・ Scope of employment
・ Scope of practice
・ Scope of review
・ SCOPE Project
Scope resolution operator
・ Scope statement
・ Scope TV
・ SCOPE-Zhongyu Environmental Awards
・ ScopeArchiv
・ Scopelarchoides
・ Scopelarchus
・ Scopelengys
・ Scopello
・ Scopello (disambiguation)
・ Scopello, Trapani
・ Scopeloberyx
・ Scopelogadus
・ Scopeloides
・ Scopelopsis multipunctatus


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Scope resolution operator : ウィキペディア英語版
Scope resolution operator
In computer programming, scope is an enclosing context where values and expressions are associated. The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages the scope resolution operator is written "::".
In some languages, notably those influenced by Modula-3, including Python and Go, modules are objects, and scope resolution within modules is a special case of usual object member access, so the usual method operator . is used for scope resolution. Other languages, notably C++ and Ruby, feature both scope resolution and method access, which interact in various ways; see examples below.
== C++ ==

class A
;
namespace B
int A::i = 4; // scope operator refers to the integer i declared in the class A
int B::j = 2; // scope operator refers to the integer j declared in the namespace B


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Scope resolution operator」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.